<?php
   require_once '../../Controller/Cotroller.Login.Usuario.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="./css/estilo.css" rel="stylesheet" type="text/css"/>
        <script type="text/javascript" src="javascript/ejeitos.js"></script>        
    </head>
<body onload="campocursor7()">
    <div>
        <form name="usuario-esqueceu-senha" action="<?php $PHP_SELF;?>" method="POST">
            <fieldset>
                <legend><strong>[ Redefinir Senha ]</strong></legend>
                <table width="100%">                   
               <p><strong>Observa&ccedil;&otilde;es:</strong><br>
                    - Forneça suas informa&ccedil;&otilde;es pessoais para verifica&ccedil;&atilde;o;<br>
                    - Se seus dados forem validados, uma nova senha ser&aacute; gerada e enviada para seu e-mail;<br>
                    - Utilize essa nova senha para acessar a Loja Ham Ya;<br>
                    - Voc&ecirc; poder&aacute; mudar sua senha ap&oacute;s fazer seu login.<br><br>
                </p>
                    <tr>
                        <th width="113" align="left">
                            <label>E-mail:<font color="BE1E2D"><b>*</b></font></label>
                      </th>
                        <td width="848" align="left">
                            <input type="text" name="login" value="<?php echo $login; ?>" size="30" maxlength="40" onFocus="fundotextfiel(this,1)" onBlur="fundotextfiel(this,0)"/>
                            <?php if (isset($erro['login'])) echo $erro['login']; ?>
                      </td>
                    </tr>
                    <tr>
                        <th width="113" align="left">
                            <label>CPF:<font color="BE1E2D"><b>*</b></font></label>
                      </th>
                        <td width="848" align="left">
                            <input type="text" name="documento" value="<?php echo $cpf; ?>" size="20" maxlength="14" onFocus="fundotextfiel(this,1)" onBlur="fundotextfiel(this,0)"/>
                            <?php if (isset($erro['documento'])) echo $erro['documento']; ?>
                      </td>
                    </tr>                    
                    <table>
                    <tr>
                        <td width="148" align="left">
                            <div align="center"><img src="__captcha.php" width="140" height="40" alt="captcha"/></div>
                        </td>
                    </tr> 
                    </table>
                    <table>
                    <tr>
                        <td colspan="1">
                            <div align="center"><strong>Digite o c&oacute;digo<font color="BE1E2D"><b>*</b></font></strong>
                                <input type="text" name="captcha" size="11" onfocus="fundotextfiel(this,1)" onblur="fundotextfiel(this,0)"/>
                                <?php if (isset($erro['captcha'])) echo $erro['captcha']; ?>
                            </div>
                        </td>
                    </tr>   
                    </table>     
                </table> 
                <p><b><font color="BE1E2D"><b>*</b></font></b> Campos de preenchimento obrigat&oacute;rio.</p>
            </fieldset>
            <br/>
                <table align="center">
                    <tr>
                        <td>
                            <input type="submit" value="Enviar" />
                            <input type="button" OnClick="window.close()" value="Fechar">                               
                        </td>
                    </tr> 
                </table>   
        </form> 
    </div>
</body>
</html> 